- if @pages.empty?
  %p
    There are currently no pages that have been created.
    %a{:href => new_page_url, :title => "create one!"}Create one
    now!
- else
  %p Here's a listing of pages that are available to edit on your site:
  %ul.pages
    - @pages.each do |page|
      %li
        %a{:href => page_url(page), :title => page.title}= page.title
        [
        %a{:href => edit_page_url(page), :title => "Edit #{page.title}"}edit
        ]